package com.boilermaker.mybatispluslearning.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.boilermaker.mybatispluslearning.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<User> selectByCondition(@Param("ew") Wrapper<User> ew);

    List<User> selectByCondition2(int addAge, @Param("ew")Wrapper<User> ew);
}
